﻿<Window x:Class="CPPEI.Coolzon.Designer.Views.SolutionProperty"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CPPEI.Coolzon.Designer.Views"
        xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI"
        mc:Ignorable="d"
        Title="方案属性" Height="300" Width="300" Loaded="Window_Loaded" WindowStartupLocation="CenterScreen"
        Style="{DynamicResource WindowStyle}" WindowState="Normal">
    <!--<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/CPPEI.Coolzon.Designer.Views;component/CommonStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>-->
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Grid.Row="0" Margin="5" Text="名称:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbName" Grid.Column="1" Grid.Row="0" Margin="5" Text="方案1" ></TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="1" Margin="5" Text="描述:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbCaption" Grid.Column="1" Grid.Row="1" Margin="5" Text="方案1" ></TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="2" Margin="5" Text="类型:" HorizontalAlignment="Right"></TextBlock>
            <ComboBox Name="tbType" Grid.Column="1" Grid.Row="2" Margin="5" IsEnabled="False">
            </ComboBox>
            <TextBlock Grid.Column="0" Grid.Row="3" Margin="5" Text="版本:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbVersion" Grid.Column="1" Grid.Row="3" Margin="5" Text="1.0"></TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="4" Margin="5" Text="运行时版本:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbRTVersion" Grid.Column="1" Grid.Row="4" Margin="5" Text="1.0"></TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="5" Margin="5" Text="宽度:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbWidth" Grid.Column="1" Grid.Row="5" Margin="5" Text="9600"></TextBlock>
            <TextBlock Grid.Column="0" Grid.Row="6" Margin="5" Text="高度:" HorizontalAlignment="Right"></TextBlock>
            <TextBlock Name="tbHeight" Grid.Column="1" Grid.Row="6" Margin="5" Text="1200"></TextBlock>
        </Grid>
        <Grid Grid.Row="1" Margin="5">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Style="{DynamicResource  SubmitOrCancelButtonStyle}"  Content="确定" Margin="0,0,20,0" Click="Button_Click" Height="Auto"/>
            </StackPanel>
        </Grid>
    </Grid>
</Window>
